package com.bosicloud.cmb.ibp.edge.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class UrlDefine {

    private static final String BASE = "/ibp";

    public static final String ALL_CATEGORY = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.ALL_CATEGORY;


    public static final String API_PAGE = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.API_PAGE;

    public static final String SEARCH_API = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.SEARCH_API;

    public static final String LOGIN_API = BASE
            + com.bosicloud.cmb.ibp.account.common.constant.UrlDefine.ACC_LOGIN;

    public static final String VERIFICATION_CODE = BASE + "/vcode";

    public static final String UPLOAD = BASE
            + com.bosicloud.cmb.ibp.aws.adapter.commom.constant.UrlDefine.S3_UPLOAD;

    /**
     * 添加Api
     */
    public static final String ADD_API = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.ADD_API;

    /**
     * Api详情
     */
    public static final String API_DETAIL = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.API_DETAIL;

    /**
     * 获取methodList
     */
    public static final String METHOD_LIST = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.METHOD_LIST;

    /**
     * 获取methodList
     */
    public static final String METHOD_INFO = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.METHOD_INFO;


    /**
     * 获取返回码列表
     */
    public static final String RESPONSE_CODE_LIST = BASE +
            com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.RESPONSE_CODE_LIST;

    /**
     * 获取响应的model,Headers
     */
    public static final String RESPONSE_MODEL_HEADERS = BASE +
            com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.RESPONSE_MODEL_HEADERS;

    /**
     * 部署API
     */
    public static final String DEPLOY_API = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.DEPLOY_API;


    /**
     * Api开发者列表
     */
    public static final String API_LIST = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.API_LIST;

    /**
     * 订阅API
     */
    public static final String SUBSCRIBE_API = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.SUBSCRIBE_API;

    /**
     * 查询订阅信息列表
     */
    public static final String SEARCH_SUBSCRIBE_INFO = BASE + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.SEARCH_SUBSCRIBE_INFO;

    /**
     * 取消订阅API
     */
    public static final String UNSUBSCRIBE_API = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.UNSUBSCRIBE_API;

    /**
     * 删除API
     */
    public static final String DELETE_API = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.DELETE_API;

    /**
     * 订阅api列表
     */
    public static final String SUBSCRIBE_API_LIST = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.SUBSCRIBE_API_LIST;


    /**
     * 检查API是否可以订阅
     */
    public static final String CHECK_SUBSCRIBE_AVAILABLE = BASE
            + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.CHECK_SUBSCRIBE_AVAILABLE;

    /**
     * 下载key
     */
    public static final String DOWNLOAD_KEY = BASE + com.bosicloud.cmb.ibp.account.common.constant.UrlDefine.GET_DOWNLOAD_KEY;
    public static final String DOWNLOAD_RES = BASE + com.bosicloud.cmb.ibp.account.common.constant.UrlDefine.DOWNLOAD_RES;


    public static final String KEY_ID = BASE + com.bosicloud.cmb.ibp.account.common.constant.UrlDefine.KEY_ID;

    public static final String DEPLOY_FAIL_MSG = BASE + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.DEPLOY_FAIL_MSG;

    public static final String PUBLIC_API = BASE + com.bosicloud.cmb.ibp.api.manager.commom.constant.UrlDefine.PUBLIC_API;


    /**
     * 自动化创建微服务模板
     */
    public static final String CREATE_MICRO_SERVICE_PLATFORM = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.CREATE_MICRO_SERVICE_PLATFORM;

    public static final String SEARCH_ENV_LIST = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_ENV_LIST;

    public static final String SEARCH_PLATFORM_COMPONENT_LIST = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_PLATFORM_COMPONENT_LIST;

    public static final String SEARCH_CF_NOTIFY_MESSAGE = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_CF_NOTIFY_MESSAGE;

    public static final String CHECK_CLUSTERNAME_ISEXITS = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.CHECK_CLUSTERNAME_ISEXITS;
    public static final String GET_EC2_INSTANCE_TYPE = BASE + "/ec2instace-type";
    /**
     * 获取创建AWS基础环境Token
     */
    public static final String CF_CREATE_TOKEN = BASE + com.bosicloud.cmb.ibp.aws.adapter.commom.constant.UrlDefine.CF_CREATE_TOKEN;


    public static final String DEPLOY_SERVICE = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.DEPLOY_SERVICE;

    public static final String SEARCH_CLUSTER_NAME_LIST = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_CLUSTER_NAME_LIST;

    public static final String SEARCH_SERVICE_LIST = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_SERVICE_LIST;

    public static final String SEARCH_DEPLOY_SERVICE_INFO = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_DEPLOY_SERVICE_INFO;
    public static final String SEARCH_FAIL_MESSAGE = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_FAIL_MESSAGE;
    public static final String SEARCH_MSPENVIRONMENT_INFO = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_MSPENVIRONMENT_INFO;
    public static final String ADD_PROJECT_INFO = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.ADD_PROJECT_INFO;
    public static final String SEARCH_PROJECT_INFO = BASE + com.bosicloud.cmb.ibp.microplatform.commom.constant.UrlDefine.SEARCH_PROJECT_INFO;

}
